package cn.edu.nwsuaf.examcenter.service;

import java.util.List;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.ui.ModelMap;

import cn.edu.nwsuaf.examcenter.pojo.Cource;

public interface CourceService {
	
	abstract List<Cource> jsonLoadCource(String key);
	
	abstract String addCource(Cource cource);
	
	abstract String deleteCource(String courceNo);
	
	abstract String deleteCourceList(String array);
	
	abstract void exportCource(HttpServletRequest request, HttpServletResponse response);
	
	abstract void loadCource(ModelMap modelMap);
	
	abstract List<Cource> jsonSearchCource(String courceName);
}
